﻿namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// TokenDto
    /// </summary>
    public class TokenDto
    {
        /// <summary>
        /// AccessToken
        /// </summary>
        public string AccessToken { get; set; } = string.Empty;

        /// <summary>
        /// 过期秒数
        /// </summary>
        public int Expire { get; set; }
    }

    /// <summary>
    /// 微信网页授权token openid
    /// </summary>
    public class WxWebTokenDto : TokenDto
    {
        /// <summary>
        /// 刷新TOKEN
        /// </summary>
        public string RefreshToken { get; set; }

        /// <summary>
        /// 公众号对应用户openid
        /// </summary>
        public string MpOpenId { get; set; }

        /// <summary>
        /// scope
        /// </summary>
        public string Scope { get; set; }
    }

    /// <summary>
    /// 微信JSSDK TICKET
    /// </summary>
    public class JsSdkTicket : TokenDto
    {
        /// <summary>
        /// 票据
        /// </summary>
        public string Ticket { get; set; }
    }
}
